$(document).ready(function() {
	const batPokerChatCounter= 'batPokerChatCounter';
	const batPokerChat= 'batPokerChat';
	if ( localStorage[batPokerChatCounter] ) {
		for (i = 0; i < localStorage[batPokerChatCounter]; i++) {
			$('#chatArea').append(localStorage[batPokerChat+ i] + '<br/>');
		}
	} else {
		$('#chatArea').append('NO GOODIES');
	}
});